You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > ConjMul Method > TOpenCLMtxVec.ConjMul Method ([In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.ConjMul Method ([In] TOpenCLMtxVec)

Conjugate and multiply.

Syntax
C#
Visual Basic
public TOpenCLMtxVec ConjMul([In] TOpenCLMtxVec Vec);

Conjugate each of Vec elements and multiply them with corresponding elements in the calling object. The results are stored in the calling object. Size and TOpenCLBase.ComplexComplex properties of the calling object are set implicitly to match Vec.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a,b,c; MtxVec.CreateIt(out a, out b, out c); try { a.CopyFromArray( new double[] {1,2,3,4}); b.CopyFromArray( new double[] {4,3,,2,1}); c.ConjMul(a,b); } finally { MtxVec.FreeIt(ref a,ref b,ref c); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!